package Dto;

public class Goods {
    private Integer id;
    private String name;
    private String goodscategory;
    private String describe;
    private String picture;
    private String oldprice;
    private String newprice;
    private String salenumber;
    private String inventory;
    private String status;
    private String addtime;
    //无参构造
    public Goods() {
    }
    //有参构造
    public Goods(Integer id, String name, String goodscategory, String describe, String picture, String oldprice, String newprice, String salenumber, String inventory, String status, String addtime) {
        this.id = id;
        this.name = name;
        this.goodscategory = goodscategory;
        this.describe = describe;
        this.picture = picture;
        this.oldprice = oldprice;
        this.newprice = newprice;
        this.salenumber = salenumber;
        this.inventory = inventory;
        this.status = status;
        this.addtime = addtime;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getGoodscategory() {
        return goodscategory;
    }

    public void setGoodscategory(String goodscategory) {
        this.goodscategory = goodscategory;
    }

    public String getDescribe() {
        return describe;
    }

    public void setDescribe(String describe) {
        this.describe = describe;
    }

    public String getPicture() {
        return picture;
    }

    public void setPicture(String picture) {
        this.picture = picture;
    }

    public String getOldprice() {
        return oldprice;
    }

    public void setOldprice(String oldprice) {
        this.oldprice = oldprice;
    }

    public String getNewprice() {
        return newprice;
    }

    public void setNewprice(String newprice) {
        this.newprice = newprice;
    }

    public String getSalenumber() {
        return salenumber;
    }

    public void setSalenumber(String salenumber) {
        this.salenumber = salenumber;
    }

    public String getInventory() {
        return inventory;
    }

    public void setInventory(String inventory) {
        this.inventory = inventory;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getAddtime() {
        return addtime;
    }

    public void setAddtime(String addtime) {
        this.addtime = addtime;
    }

    @Override
    public String toString() {
        return "Goods{" +
                "id='" + id + '\'' +
                "name='" + name + '\'' +
                ", goodscategory='" + goodscategory + '\'' +
                ", describe='" + describe + '\'' +
                ", picture='" + picture + '\'' +
                ", oldprice='" + oldprice + '\'' +
                ", newprice='" + newprice + '\'' +
                ", salenumber='" + salenumber + '\'' +
                ", inventory='" + inventory + '\'' +
                ", status='" + status + '\'' +
                ", addtime='" + addtime + '\'' +
                '}';
    }
}
